/*************************************************************************
 *
 * $Id: data.h 126 2007-02-10 14:57:23Z alpov $
 * 
 *************************************************************************/         

#ifndef _DATA_H
#define _DATA_H

#include "../global/data.h"

/* udaje ukladane lokalne do EEPROM terminalu
 */ 
typedef struct {
    unsigned char sensor_count;
    char sensors[SENSOR_MAX_COUNT][8];
    unsigned char sensor_index_log_high;
    unsigned char sensor_index_log_low;
    unsigned int log_period_high;
    unsigned int log_period_low;
} EEDATA_STRUCT;


extern EEDATA_STRUCT eedata;        // eeprom
extern STDATA_STRUCT stdata;        // sram
extern RWDATA_STRUCT rwdata;        // sram

//extern Mutex DataLock;

#endif
